package com.icloud.wallet.boot.dto;


import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("收红包参数")
@Data
public class ReceiveRedPacketDto {
    @ApiModelProperty(value = "红包Id", required = true)
    @NotNull(message = ValidateConstant.NOT_NULL)
    private Long redPacketId;

    @ApiModelProperty(value = "领取人id", required = true)
    @NotNull(message = ValidateConstant.NOT_NULL)
    private Long receiveId;

    @ApiModelProperty("红包领取时间")
    private Long receiveTime;
}
